<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
    <form action="edit_user" method="get">
        <div>用户代码: <input type="text" readonly th:name="user_code" th:value="${user_info.user_code} " maxlength="6"/></div>
        <div>用户名:<input type="text" maxlength="10" th:name="user_name" th:value="${user_info.user_name}" /></div>
        <div>电话号码:<input  type="text" maxlength="11" th:name="telephone" th:value="${user_info.telephone}" /></div>
        <div>专业<select th:name="user_pro_id">
                        <option th:each="p:${pro_list}"
                                th:value="${p.pro_id}"
                                th:text="${p.pro_name}"></option>
                 </select>
        </div>
        <div><input  type="submit" value="保存"/></div>
    </form>
<body>

</body>
</html>